package com.itheima.HomeWork.ee;

public class mathh {
    public static void main(String[] args) {
        String str="\\w{7,8}@\\w{2,6}(\\.\\w{2,3}){1,2}";
        System.out.println("zhangsan@itcast.cnn.cn".matches(str));
        String s="\\d{17}(\\d||x||X)";
        System.out.println("11111111111111111s".matches(s));
    }
}
